export default function user(vm){
	let login = (user)=>vm.$u.post('/login',user)
	let getUserInfo = ()=>vm.$u.get('/getUserInfo')
	return {login,getUserInfo}
}
